﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExportOMailLineReport.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.MacModel.ExportOMailLineReport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server" method="post">
    
      <asp:Panel ID="Panel1" runat="server" Visible="false">
    <asp:repeater id="rpMenu1" runat="server">
        <HeaderTemplate>
        <table class="list" cellspacing="0" rules="all" border="1" style="border-collapse: collapse;">
        <thead>
            <tr  >                
                <th width="50">
                    工位
                </th>
                <th width="100">
                    工位名称
                </th>
                <th width="60">
                    NG量
                </th>
                <th>所占比例</th>                
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user">
				<td><%# Eval("GW")%></td>
				<td><%# Eval("GWName")%></td>
                <td><%# Eval("NGCount")%></td>
                <td><%# Eval("NGCountPer")%>%</td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            <tr>
                <td>&nbsp;</td>
                <td  style="text-align:right;">NG合计:</td>
                <td><%=GetSUMDT1("NGCount")%></td>
                <td>&nbsp;</td>
            </tr>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
    </asp:Panel>
   
      <asp:Panel ID="Panel2" runat="server" Visible="false">
    <asp:repeater id="rpMenu2" runat="server">
        <HeaderTemplate>
        <table class="list" cellspacing="0" rules="all" border="1" style="border-collapse: collapse;">
        <thead>
            <tr  >                
                <th width="50">
                    工位
                </th>
                <th width="100">
                    工位名称
                </th>
                <th width="300">
                    检查内容
                </th>
                <th width="60">
                    NG量
                </th>  
                <th>NG比例</th>              
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" >
				<td><%# Eval("GW")%></td>
				<td><%# Eval("GWName")%></td>
                <td><%# Eval("ChceckInclude")%></td>
                <td><%# Eval("NGCount")%></td>
                <td><%# Eval("NGCountPer")%>%</td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            <tr>
                 <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td style="text-align:right;">NG合计:</td>
                <td><%=GetSUMDT2("NGCount")%></td>
                <td>&nbsp;</td>
            </tr>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
    </asp:Panel>
   
</form>
</body>
</html>
